package com.pmcc.cj.entity;

import com.pmcc.core.entity.UUIDEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 满减规则中间表
 * Created by tomas on 2020/9/5.
 */
@Entity
@Table(name = "cj_middle_rule")
public class CjMiddleRule extends UUIDEntity {
    @Column(name = "rule_id")
    private String ruleId;//满减规则id
    @Column(name = "commodity_id")
    private String commodityId;//商品id

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }
}
